package com.example.test_javalib;

public class MyClass {

    public static void main(String[] args) {
        int curSize = 12345;
        int totalSize = 123450;
        int percent = curSize * 100 / totalSize;
        System.out.println("percent:" + percent);
    }
}